/* *******************************************************************************
 *      Copyright:  (C) 2025 ZYT
 *                  All rights reserved.
 *
 *       Filename:  ds18b20.h
 *    Description:  This file 
 * 
 *        Version:  1.0.0(28/03/25)
 *         Author:  Zhang yuting <zhangyuting@163.com>
 *      ChangeLog:  1, Release initial version on "28/03/25 18:17:43"
 *                            
 **********************************************************************************/

#ifndef _DS18B20_H_
#define _DS18B20_H_

#include <stdio.h>
#include <errno.h>
#include <dirent.h>
#include <string.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>

#define CONFIG_DEBUG
#ifdef CONFIG_DEBUG
#define dbg_printf(format, args...) printf(format, ##args)
#else
#define dbg_printf(format, args...) do{} while(0)
#endif

int get_temperature(float *temper);


#endif


